package com.fh.service.impl;

import com.fh.mapper.StockMapper;
import com.fh.model.vo.ShoppingCartVO;
import com.fh.service.StockService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class StockServiceImpl implements StockService {


  @Resource
  private StockMapper stockMapper;


    @Override
    public List<ShoppingCartVO> queryStock(List<Integer> list) {

      List<ShoppingCartVO> shoppingCartVOS = stockMapper.queryStock(list);
      return shoppingCartVOS;
    }
}
